﻿// $Id: ErrorMessageListException.cs 64 2008-05-06 18:29:47Z nvivo $

using System;
using System.Collections.Generic;
using System.Text;

namespace DBLGen
{
    public class ErrorMessageListException : Exception
    {
        public ErrorMessageListException(ErrorMessage[] messages)
        {
            if (messages == null)
                throw new ArgumentNullException("messages");

            _messages = messages;
        }

        private ErrorMessage[] _messages;

        public ErrorMessage[] Messages
        {
            get
            {
                return _messages;
            }
        }
    }
}
